package app.android.kdictionary.aidl;

import android.content.ComponentName;
import android.content.ServiceConnection;
import android.os.IBinder;

public class SearchServiceConnection implements ServiceConnection {
	private ISearchService mService = null;
	

	@Override
	public void onServiceConnected(ComponentName className, IBinder service) {
		mService = ISearchService.Stub.asInterface(service);
	}
	
	@Override
	public void onServiceDisconnected(ComponentName className) {
		mService = null;
	}

	public ISearchService getmService() {
		return mService;
	}
}
